<ul class="nav navbar-nav navbar-right">

	<% if user_signed_in? %>
	<li class="dropdown">
		<%= link_to current_user.email, edit_user_registration_path %>

	</li>
	<li>
		<%= link_to "退出", destroy_user_session_path, method: :DELETE %>
	</li>
	<% else %>
	<li>
		<%= link_to "登陆", new_user_session_path %>
	</li>
	<% end %>

</ul>